package day16_porxy;

import day16_porxy.impl.PersonServiceImpl;

/**
 * @author xinxing
 * @date 2023/2/6 16:31
 */
public class ProxyMain {

    public static void main(String[] args) {

        PersonService personService = (PersonService) ProxyFactory.getProxy(new PersonServiceImpl());
        System.out.println("结果:" + personService.call("xin"));

    }

}
